package com.leoman.service;

import com.leoman.entity.LetterAnnexSample;
import com.leoman.service.common.ICommonService;
import org.springframework.data.domain.Page;

/**
 * LetterAnnexSampleService
 * Created by 涂奕恒 on 2016/11/23 0023 下午 3:53.
 */
public interface LetterAnnexSampleService extends ICommonService<LetterAnnexSample> {

    // 查询指定信件附属信息
    LetterAnnexSample findOneByLetterAnnexId(Integer letterAnnexId);

    /**
     * 查询物品信息
     */
    Page<LetterAnnexSample> iPageByParams(Integer letterAnnexId, Integer type, Integer pageNum, Integer pageSize);
}